<template>
	<div class="container">
		<!-- 一级路由出口 -->
		<!-- 需要缓存的组件 -->
		<keep-alive>
			<router-view v-if="$route.meta.needCache" />
		</keep-alive>

		<router-view v-if="!$route.meta.needCache" />
	</div>
</template>

<script>
export default {};
</script>

<style>
</style>
